package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.TreatmentProjectDoctorListTask.TreatmentProjectDoctorListRequest;
import com.smiier.skin.net.TreatmentProjectDoctorListTask.TreatmentProjectDoctorListResponse;
import com.smiier.skin.net.entity.UserWrapper;
import com.smiier.skin.util.GlobalSettings;

/*
 * 治疗项目医生列表
 */
public class TreatmentProjectDoctorListTask
		extends
		NetTask<TreatmentProjectDoctorListRequest, TreatmentProjectDoctorListResponse> {
	public static class TreatmentProjectDoctorListRequest extends ORequest {
		public String hospital;
	}

	public static class TreatmentProjectDoctorListResponse extends OResponse {
		public int Head;
		public int ResultCode;
		public String ResultMessage;
		public Res Res;
	}

	public static class Res implements INoProguard {
		public int Count;
		public ArrayList<UserWrapper> Users;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/TreatmentProject/projectDoctorList";
		mRequestMethod = METHOD_POST;
	}

}
